﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;

namespace CentalineWeb.server
{
    public partial class Dept : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var dm = new DeptManager();
            var alllist = dm.GetlAll(false);
            string jsonstr = dm.DeptListToLevelJsonCommon(alllist);
            Response.Write(jsonstr);
        }
    }
}